package com.xz.realdemo.domain;

import com.xz.realdemo.factoryinterface.Chart;

/**
 * @author 张志航     
 * @version V1.0.0
 * @projectName design_mode
 * @title     PieChart   
 * @package    com.xz.realdemo.domain  
 * @date   2019/11/24 17:37  
 * @explain
 */
public class PieChart extends Chart {

    public PieChart() {
        System.out.println("真的饼状图");
    }

    @Override
    public void display() {
        System.out.println("展示了饼状图");
    }
}
